from django.db import models

# Create your models here.


class ATOP_CD_CMDB_MODEL(models.Model):
    """CMDB模型表"""
    model_id = models.CharField(max_length=32, unique=False, null=False)
    model_name = models.CharField(max_length=128, unique=False, null=False)
    parent_id = models.CharField(max_length=32, unique=False, null=False)

    class Meta:
        db_table = 'ATOP_CD_CMDB_MODEL'


class ATOP_CD_CMDB_ATTR(models.Model):
    """CMDB模型属性表"""
    model_id = models.CharField(max_length=32, unique=False, null=False)
    attrbute_id = models.CharField(max_length=32, unique=False, null=False)
    attrbute_name = models.CharField(max_length=128, unique=False, null=False)

    class Meta:
        db_table = 'ATOP_CD_CMDB_ATTR'


class ATOP_CD_CMDB_OBJECT(models.Model):
    """CMDB对象表"""
    model_id = models.CharField(max_length=32, unique=False, null=False)
    object_id = models.CharField(max_length=32, unique=False, null=False)
    object_name = models.CharField(max_length=128, unique=False, null=False)

    class Meta:
        db_table = 'ATOP_CD_CMDB_OBJECT'


class ATOP_CD_CMDB_ATTR_VALUE(models.Model):
    """CMDB对象属性表"""
    object_id = models.CharField(max_length=32, unique=False, null=False)
    attrbute_id = models.CharField(max_length=32, unique=False, null=False)
    attrbute_name = models.CharField(max_length=128, unique=False, null=False)

    class Meta:
        db_table = 'ATOP_CD_CMDB_ATTR_VALUE'


# This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
#   * Rearrange models' order
#   * Make sure each model has one field with primary_key=True
#   * Make sure each ForeignKey has `on_delete` set to the desired behavior.
#   * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free to rename the models, but don't rename db_table values or field names.
from django.db import models


class CmdbActivemqClr(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    activemq_clr_name = models.CharField(db_column='ACTIVEMQ_CLR_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    tech_owner = models.CharField(db_column='TECH_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=16, blank=True, null=True)  # Field name made lowercase.
    clr_type = models.CharField(db_column='CLR_TYPE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    clr_num = models.IntegerField(db_column='CLR_NUM', blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_ip = models.CharField(db_column='SERVICE_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_activemq_clr'


class CmdbAvtivemq(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    activemq_name = models.CharField(db_column='ACTIVEMQ_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_path = models.CharField(db_column='SERVICE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_activemq_clr = models.CharField(db_column='RELATED_ACTIVEMQ_CLR', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_avtivemq'


class CmdbBusiness(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_venter = models.CharField(db_column='COST_VENTER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=32, blank=True, null=True)  # Field name made lowercase.
    create_time = models.DateTimeField(db_column='CREATE_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=32, blank=True, null=True)  # Field name made lowercase.
    biz_code = models.CharField(db_column='BIZ_CODE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    biz_name = models.CharField(db_column='BIZ_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    biz_desc = models.CharField(db_column='BIZ_DESC', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    develop_owner = models.CharField(db_column='DEVELOP_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_business'


class CmdbDbMw(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    listenport = models.CharField(db_column='LISTENPORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    serviceport = models.CharField(db_column='SERVICEPORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    ci_name = models.CharField(db_column='CI_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    installpath = models.CharField(db_column='INSTALLPATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    env_type = models.CharField(db_column='ENV_TYPE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    remark = models.CharField(db_column='REMARK', max_length=256, blank=True, null=True)  # Field name made lowercase.
    master_lib = models.CharField(db_column='MASTER_LIB', max_length=128, blank=True, null=True)  # Field name made lowercase.
    bak_lib = models.CharField(db_column='BAK_LIB', max_length=128, blank=True, null=True)  # Field name made lowercase.
    database_count = models.IntegerField(db_column='DATABASE_COUNT', blank=True, null=True)  # Field name made lowercase.
    request_address = models.CharField(db_column='REQUEST_ADDRESS', max_length=64, blank=True, null=True)  # Field name made lowercase.
    archtecture = models.CharField(db_column='ARCHTECTURE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_eroom = models.CharField(db_column='RELATED_EROOM', max_length=16, blank=True, null=True)  # Field name made lowercase.
    bak_ip = models.CharField(db_column='BAK_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    float_ip = models.CharField(db_column='FLOAT_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_db_mw'


class CmdbEngineroom(models.Model):
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    room_name = models.CharField(db_column='ROOM_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    epc_num = models.IntegerField(db_column='EPC_NUM', blank=True, null=True)  # Field name made lowercase.
    erea = models.IntegerField(db_column='EREA', blank=True, null=True)  # Field name made lowercase.
    place = models.CharField(db_column='PLACE', max_length=64, blank=True, null=True)  # Field name made lowercase.
    ups_power = models.IntegerField(db_column='UPS_POWER', blank=True, null=True)  # Field name made lowercase.
    con_power = models.IntegerField(db_column='CON_POWER', blank=True, null=True)  # Field name made lowercase.
    phone = models.CharField(db_column='PHONE', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_engineroom'


class CmdbKafka(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    kafka_name = models.CharField(db_column='KAFKA_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_path = models.CharField(db_column='SERVICE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_clr = models.CharField(db_column='RELATED_CLR', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_kafka'


class CmdbKafkaCluster(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    kafka_cluster_name = models.CharField(db_column='KAFKA_CLUSTER_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    tach_owner = models.CharField(db_column='TACH_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    zookeeper_list = models.CharField(db_column='ZOOKEEPER_LIST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_ip = models.CharField(db_column='SERVICE_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_kafka_cluster'


class CmdbModel(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    module_code = models.CharField(db_column='MODULE_CODE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    module_name = models.CharField(db_column='MODULE_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=8, blank=True, null=True)  # Field name made lowercase.
    process_number = models.IntegerField(db_column='PROCESS_NUMBER', blank=True, null=True)  # Field name made lowercase.
    run_user = models.CharField(db_column='RUN_USER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    module_desc = models.TextField(db_column='MODULE_DESC', blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    tech_stask = models.CharField(db_column='TECH_STASK', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    develop_owner = models.CharField(db_column='DEVELOP_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    monitor_template = models.CharField(db_column='MONITOR_TEMPLATE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    startup_mode = models.CharField(db_column='STARTUP_MODE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_app = models.CharField(db_column='RELATED_APP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_biz = models.CharField(db_column='RELATED_BIZ', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_nginxgroup = models.CharField(db_column='RELATED_NGINXGROUP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_db_lib = models.CharField(db_column='RELATED_DB_LIB', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_mw = models.CharField(db_column='RELATED_MW', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_model'


class CmdbMysqlInstance(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    ins_name = models.CharField(db_column='INS_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    listen_port = models.CharField(db_column='LISTEN_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    architecture = models.CharField(db_column='ARCHITECTURE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    roles = models.CharField(db_column='ROLES', max_length=16, blank=True, null=True)  # Field name made lowercase.
    installpath = models.CharField(db_column='INSTALLPATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=16, blank=True, null=True)  # Field name made lowercase.
    datafilename = models.CharField(db_column='DATAFILENAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    env_type = models.CharField(db_column='ENV_TYPE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    remark = models.CharField(db_column='REMARK', max_length=32, blank=True, null=True)  # Field name made lowercase.
    database_count = models.IntegerField(db_column='DATABASE_COUNT', blank=True, null=True)  # Field name made lowercase.
    related_honst = models.CharField(db_column='RELATED_HONST', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_eroom = models.CharField(db_column='RELATED_EROOM', max_length=16, blank=True, null=True)  # Field name made lowercase.
    bak_ip = models.CharField(db_column='BAK_IP', max_length=16, blank=True, null=True)  # Field name made lowercase.
    float_ip = models.CharField(db_column='FLOAT_IP', max_length=16, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_mysql_instance'


class CmdbMysqlLoglib(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    loglib_name = models.CharField(db_column='LOGLIB_NAME', max_length=16,blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16,blank=True, null=True)  # Field name made lowercase.
    related_db_mw = models.CharField(db_column='RELATED_DB_MW', max_length=16,blank=True, null=True)  # Field name made lowercase.
    related_module = models.CharField(db_column='RELATED_MODULE', max_length=16,blank=True, null=True)  # Field name made lowercase.
    related_mysql_phylib = models.CharField(db_column='RELATED_MYSQL_PHYLIB', max_length=16,blank=True, null=True)  # Field name made lowercase.
    develop_owner = models.CharField(db_column='DEVELOP_OWNER', max_length=16,blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_mysql_loglib'


class CmdbMysqlPhylib(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    phylib_name = models.CharField(db_column='PHYLIB_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_mysql_ins = models.CharField(db_column='RELATED_MYSQL_INS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_port = models.CharField(db_column='RELATED_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_eroom = models.CharField(db_column='RELATED_EROOM', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_module = models.CharField(db_column='RELATED_MODULE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    develop_owner = models.CharField(db_column='DEVELOP_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_mysql_phylib'


class CmdbNginx(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    nginx_name = models.CharField(db_column='NGINX_NAME', max_length=16, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=16, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    servince_path = models.CharField(db_column='SERVINCE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_nginx_group = models.CharField(db_column='RELATED_NGINX_GROUP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_nginx'


class CmdbNginxGroup(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    nginxgroup_name = models.CharField(db_column='NGINXGROUP_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    protocal = models.CharField(db_column='PROTOCAL', max_length=32, blank=True, null=True)  # Field name made lowercase.
    f5_address = models.CharField(db_column='F5_ADDRESS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    f5_port = models.CharField(db_column='F5_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    bnetwork_address = models.CharField(db_column='BNETWORK_ADDRESS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    bnetwork_port = models.CharField(db_column='BNETWORK_port', max_length=16, blank=True, null=True)  # Field name made lowercase.
    pnetwork_address = models.CharField(db_column='PNETWORK_ADDRESS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    pnetwork_port = models.CharField(db_column='PNETWORK_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    beling_domain = models.CharField(db_column='BELING_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    tech_owner = models.CharField(db_column='TECH_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_module = models.CharField(db_column='RELATED_MODULE', max_length=16, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_nginx_group'


class CmdbProcess(models.Model):
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    process_name = models.CharField(db_column='PROCESS_NAME', max_length=16, blank=True, null=True)  # Field name made lowercase.
    port_num = models.IntegerField(db_column='PORT_NUM', blank=True, null=True)  # Field name made lowercase.
    install_path = models.CharField(db_column='INSTALL_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    peocess_desc = models.TextField(db_column='PEOCESS_DESC', blank=True, null=True)  # Field name made lowercase.
    process_type = models.CharField(db_column='PROCESS_TYPE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    process_mode = models.CharField(db_column='PROCESS_MODE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_business = models.CharField(db_column='RELATED_BUSINESS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_app = models.CharField(db_column='RELATED_APP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_module = models.CharField(db_column='RELATED_MODULE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    ralated_run_user = models.CharField(db_column='RALATED_RUN_USER', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_process'


class CmdbRedis(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    redis_name = models.CharField(db_column='REDIS_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_path = models.CharField(db_column='SERVICE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_clr = models.CharField(db_column='RELATED_CLR', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_redis'


class CmdbRedisCluster(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    redis_cluster_name = models.CharField(db_column='REDIS_CLUSTER_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    tach_owner = models.CharField(db_column='TACH_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_ip = models.CharField(db_column='SERVICE_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_redis_cluster'


class CmdbRocketmq(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    rocketmq_name = models.CharField(db_column='ROCKETMQ_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_path = models.CharField(db_column='SERVICE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    nserver_account = models.CharField(db_column='NSERVER_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    bserver_port = models.CharField(db_column='BSERVER_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_port = models.CharField(db_column='RELATED_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_rocketmq'


class CmdbRocketmqClr(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    rocketmq_cls_name = models.CharField(db_column='ROCKETMQ_CLS_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    rocketmq_cls_sn = models.CharField(db_column='ROCKETMQ_CLS_SN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    tach_owner = models.CharField(db_column='TACH_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    clr_type = models.CharField(db_column='CLR_TYPE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    clr_num = models.CharField(db_column='CLR_NUM', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_ip = models.CharField(db_column='SERVICE_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_rocketmq_clr'


class CmdbRootClass(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    app_code = models.CharField(db_column='APP_CODE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    app_name = models.CharField(db_column='APP_NAME', max_length=16, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    app_desc = models.TextField(db_column='APP_DESC', blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    develop_owner = models.CharField(db_column='DEVELOP_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_biz = models.CharField(db_column='RELATED_BIZ', max_length=16, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_root_class'


class CmdbTomcat(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    tomcat_name = models.CharField(db_column='TOMCAT_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    servince_port = models.CharField(db_column='SERVINCE_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    tech_owner = models.CharField(db_column='TECH_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_tomcat'


class CmdbZkCluster(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    zp_cluster_name = models.CharField(db_column='ZP_CLUSTER_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    belong_domain = models.CharField(db_column='BELONG_DOMAIN', max_length=32, blank=True, null=True)  # Field name made lowercase.
    tach_owner = models.CharField(db_column='TACH_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_application = models.CharField(db_column='RELATED_APPLICATION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_kafka_clr = models.CharField(db_column='RELATED_KAFKA_CLR', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_ip = models.CharField(db_column='SERVICE_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_zk_cluster'


class CmdbZookeeper(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    zookeeper_name = models.CharField(db_column='ZOOKEEPER_NAME', max_length=32, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=32, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=32, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_path = models.CharField(db_column='SERVICE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    service_port = models.CharField(db_column='SERVICE_PORT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_clr = models.CharField(db_column='RELATED_CLR', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdb_zookeeper'


class CmdnKeeplive(models.Model):
    uniqueid = models.CharField(db_column='uniqueID', max_length=32, blank=True, null=True)  # Field name made lowercase.
    province = models.CharField(db_column='PROVINCE', max_length=16, blank=True, null=True)  # Field name made lowercase.
    cost_center = models.CharField(db_column='COST_CENTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator = models.CharField(db_column='CREATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    creator_time = models.DateTimeField(db_column='CREATOR_TIME', blank=True, null=True)  # Field name made lowercase.
    update_time = models.DateTimeField(db_column='UPDATE_TIME', blank=True, null=True)  # Field name made lowercase.
    operator = models.CharField(db_column='OPERATOR', max_length=16, blank=True, null=True)  # Field name made lowercase.
    keeplive_name = models.CharField(db_column='KEEPLIVE_NAME', max_length=16, blank=True, null=True)  # Field name made lowercase.
    status = models.CharField(db_column='STATUS', max_length=16, blank=True, null=True)  # Field name made lowercase.
    log_path = models.CharField(db_column='LOG_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    version = models.CharField(db_column='VERSION', max_length=16, blank=True, null=True)  # Field name made lowercase.
    patch_ver = models.CharField(db_column='PATCH_VER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    servince_path = models.CharField(db_column='SERVINCE_PATH', max_length=32, blank=True, null=True)  # Field name made lowercase.
    running_account = models.CharField(db_column='RUNNING_ACCOUNT', max_length=32, blank=True, null=True)  # Field name made lowercase.
    servince_port = models.CharField(db_column='SERVINCE_PORT', max_length=16, blank=True, null=True)  # Field name made lowercase.
    opera_owner = models.CharField(db_column='OPERA_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    tech_owner = models.CharField(db_column='TECH_OWNER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    rount_id = models.CharField(db_column='ROUNT_ID', max_length=16, blank=True, null=True)  # Field name made lowercase.
    is_master = models.CharField(db_column='IS_MASTER', max_length=16, blank=True, null=True)  # Field name made lowercase.
    clr_num = models.IntegerField(db_column='CLR_NUM', blank=True, null=True)  # Field name made lowercase.
    purpose = models.CharField(db_column='PURPOSE', max_length=128, blank=True, null=True)  # Field name made lowercase.
    related_host = models.CharField(db_column='RELATED_HOST', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_nginx_group = models.CharField(db_column='RELATED_NGINX_GROUP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_mysql_instance = models.CharField(db_column='RELATED_MYSQL_INSTANCE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_db_mw = models.CharField(db_column='RELATED_DB_MW', max_length=32, blank=True, null=True)  # Field name made lowercase.
    related_module = models.CharField(db_column='RELATED_MODULE', max_length=32, blank=True, null=True)  # Field name made lowercase.
    bakuo_ip = models.CharField(db_column='BAKUO_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.
    virtual_ip = models.CharField(db_column='VIRTUAL_IP', max_length=32, blank=True, null=True)  # Field name made lowercase.

    class Meta:
        db_table = 'cmdn_keeplive'